//
//  STMRefundAuditView.h
//  StoreManagement
//
//  Created by centling on 16/6/3.
//  Copyright © 2016年 alfred. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DLRadioButton.h"

@protocol refundAuditViewDelegate <NSObject>

- (void)agreeOrDisagreeWithState:(NSString *)state Message:(NSString *)message returnType:(NSString *)returnType;

@end


@interface STMRefundAuditView : UIView<UITextViewDelegate>
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *agreeButton;
@property (weak, nonatomic) IBOutlet UIButton *disagreeButton;

@property (weak, nonatomic) IBOutlet UILabel *placeholderLabel;
@property (weak, nonatomic) IBOutlet UITextView *auditContentTextView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textViewTopConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *placeHolderTopConstraint;
@property (nonatomic, strong) DLRadioButton *firstButton;
@property (nonatomic, strong) DLRadioButton *secondButton;

@property (nonatomic, assign) id<refundAuditViewDelegate> delegate;
@property (nonatomic, assign) BOOL forConsultReply;
@property (nonatomic, assign) BOOL forOrderCancel;

+ (instancetype)refundAuditView;
- (void)adjustTextViewConstraint;
- (void)adjustForConsultReply;
- (void)adjustForOrderCancel;

@end
